package cn.stylefeng.guns.modular.basic.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.basic.entity.BasicXlbOauth2token;
import cn.stylefeng.guns.modular.basic.model.params.BasicXlbOauth2tokenParam;
import cn.stylefeng.guns.modular.basic.model.result.BasicXlbOauth2tokenResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 新零帮oauth2授权表 服务类
 * </p>
 *
 * @author zhucx
 * @since 2024-01-17
 */
public interface BasicXlbOauth2tokenService extends IService<BasicXlbOauth2token> {

    /**
     * 新增
     *
     * @author zhucx
     * @Date 2024-01-17
     */
    void add(BasicXlbOauth2tokenParam param);

    /**
     * 删除
     *
     * @author zhucx
     * @Date 2024-01-17
     */
    void delete(BasicXlbOauth2tokenParam param);

    /**
     * 更新
     *
     * @author zhucx
     * @Date 2024-01-17
     */
    void update(BasicXlbOauth2tokenParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhucx
     * @Date 2024-01-17
     */
    BasicXlbOauth2tokenResult findBySpec(BasicXlbOauth2tokenParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhucx
     * @Date 2024-01-17
     */
    List<BasicXlbOauth2tokenResult> findListBySpec(BasicXlbOauth2tokenParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhucx
     * @Date 2024-01-17
     */
     LayuiPageInfo findPageBySpec(BasicXlbOauth2tokenParam param,String condition);

}
